package com.nikmesoft.android.referendumfriend.models;

import android.graphics.Bitmap;

public class user {
	private int id;
	
	private Bitmap avatar;

	public user(int id, String name, Bitmap avatar) {
		super();
		this.id = id;
		
		this.avatar = avatar;
	}

	public user(Bitmap avatar) {
		super();
		
		this.avatar = avatar;
	}

	public user() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	

	public Bitmap getAvatar() {
		return avatar;
	}

	public void setAvatar(Bitmap avatar) {
		this.avatar = avatar;
	}

	public boolean compare(user user) {
		if (avatar == user.getAvatar())
			return true;
		else
			return false;
	}

}
